let $g := doc("division.xml")/DIVISION/GROUP
let $s := $g/STUDENT
return count($s) div count($g)
